projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1937f3d
)
(handle_one_xevent): Don't pass buttons higher than 3
author
Jan Djärv
<jan.h.d@swipnet.se>
Tue, 13 May 2008 08:13:24 +0000
(08:13 +0000)
committer
Jan Djärv
<jan.h.d@swipnet.se>
Tue, 13 May 2008 08:13:24 +0000
(08:13 +0000)
to Gtk+ menus.
src/ChangeLog
patch
|
blob
|
history
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index dc4198045b8ce48e56c720304daafb4c26af4873..46ba627e2e79630775bb31040b8e33a72dba42e4 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-1,3
+1,8
@@
+2008-05-13 Jan Dj
\e
,Ad
\e
(Brv <jan.h.d@swipnet.se>
+
+ * xterm.c (handle_one_xevent): Don't pass buttons higher than 3
+ to Gtk+ menus.
+
2008-05-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
* emacs.c (main_thread): Conditionalize on
diff --git
a/src/xterm.c
b/src/xterm.c
index 3b625b0d662ca628ab37ec8cb69d182965d11d56..89cf06c05e036e49d8e0e4763ca74f1f2079c52b 100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-6848,6
+6848,8
@@
handle_one_xevent (dpyinfo, eventp, finish, hold_quit)
if (
#ifdef USE_GTK
! popup_activated ()
+ /* Gtk+ menus only react to the first three buttons. */
+ && event.xbutton.button < 3
&&
#endif
f && event.type == ButtonPress